﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace OTDR_OPT
{
    /// <summary>
    /// YakogawaSwitchControl.xaml 的交互逻辑
    /// </summary>
    public partial class YakogawaSwitchControl : UserControl
    {
        public YakogawaSwitchControl()
        {
            InitializeComponent();
        }

        #region 通道1波长
        static DependencyProperty Channel1WavelengthProperty = DependencyProperty.Register(
            "Channel1Wavelength",
            typeof(string),
            typeof(YakogawaSwitchControl)
            );

        public string Channel1Wavelength
        {
            set { SetValue(Channel1WavelengthProperty,value); }
            get { return (string)GetValue(Channel1WavelengthProperty); }
        }
        #endregion

        #region 通道2波长
        static DependencyProperty Channel2WavelengthProperty = DependencyProperty.Register(
            "Channel2Wavelength",
            typeof(string),
            typeof(YakogawaSwitchControl)
            );

        public string Channel2Wavelength
        {
            set { SetValue(Channel2WavelengthProperty, value); }
            get { return (string)GetValue(Channel2WavelengthProperty); }
        }
        #endregion

        #region 通道3波长
        static DependencyProperty Channel3WavelengthProperty = DependencyProperty.Register(
            "Channel3Wavelength",
            typeof(string),
            typeof(YakogawaSwitchControl)
            );

        public string Channel3Wavelength
        {
            set { SetValue(Channel3WavelengthProperty, value); }
            get { return (string)GetValue(Channel3WavelengthProperty); }
        }
        #endregion

        #region 通道4波长
        static DependencyProperty Channel4WavelengthProperty = DependencyProperty.Register(
            "Channel4Wavelength",
            typeof(string),
            typeof(YakogawaSwitchControl)
            );

        public string Channel4Wavelength
        {
            set { SetValue(Channel4WavelengthProperty, value); }
            get { return (string)GetValue(Channel4WavelengthProperty); }
        }
        #endregion

        #region 通道5波长
        static DependencyProperty Channel5WavelengthProperty = DependencyProperty.Register(
            "Channel5Wavelength",
            typeof(string),
            typeof(YakogawaSwitchControl)
            );

        public string Channel5Wavelength
        {
            set { SetValue(Channel5WavelengthProperty, value); }
            get { return (string)GetValue(Channel5WavelengthProperty); }
        }
        #endregion

        #region 通道6波长
        static DependencyProperty Channel6WavelengthProperty = DependencyProperty.Register(
            "Channel6Wavelength",
            typeof(string),
            typeof(YakogawaSwitchControl)
            );

        public string Channel6Wavelength
        {
            set { SetValue(Channel6WavelengthProperty, value); }
            get { return (string)GetValue(Channel6WavelengthProperty); }
        }
        #endregion

        #region 通道7波长
        static DependencyProperty Channel7WavelengthProperty = DependencyProperty.Register(
            "Channel7Wavelength",
            typeof(string),
            typeof(YakogawaSwitchControl)
            );

        public string Channel7Wavelength
        {
            set { SetValue(Channel7WavelengthProperty, value); }
            get { return (string)GetValue(Channel7WavelengthProperty); }
        }
        #endregion

        #region 通道8波长
        static DependencyProperty Channel8WavelengthProperty = DependencyProperty.Register(
            "Channel8Wavelength",
            typeof(string),
            typeof(YakogawaSwitchControl)
            );

        public string Channel8Wavelength
        {
            set { SetValue(Channel8WavelengthProperty, value); }
            get { return (string)GetValue(Channel8WavelengthProperty); }
        }
        #endregion
    }
}
